import 'package:json_annotation/json_annotation.dart';

/// @Author lixiaobin
/// @Date 2023/11/30
/// @Description
part 'meeting_role.g.dart';

@JsonSerializable(explicitToJson: true)
class MeetingRoleModel {
  /// 用户id
  String? id;

  /// 业务端用户id
  String? userId;

  /// 用户昵称
  String? nickName;

  /// 用户类型
  String? userType;

  /// 用户电话号码
  String? phone;

  /// 用户角色
  String? userRole;

  /// 用户菜单权限
  /// 音频           0
  /// 视频           1
  /// 屏幕共享        2
  /// 参会者列表      3
  /// 视窗布局切换    5
  /// 邀请          200
  /// 录制          201
  /// 聊天          21
  String? toolbarConfig;

  /// 用户附属信息 被邀请人填写
  String? userData;

  /// 网易云信会议userUUid
  String? userUuid;

  /// 网易云信userToken
  String? userToken;

  /// 邀请链接
  String? invitationLink;

  static MeetingRoleModel fromJson(Map<String, dynamic> srcJson) =>
      _$MeetingRoleModelFromJson(srcJson);

  Map<String, dynamic> toJson() => _$MeetingRoleModelToJson(this);
}
